const express = require('express');

const app = express();

app.get('/user', (req, res) => {
  res.send({
    name: 'lili',
    age: 21
  });
});


app.listen(3001, () => {
  console.log('http://127.0.0.1:3001');
});